'use strict';

const nunjucks = require('nunjucks');
let fn_login = async (ctx,next) =>{

    ctx.body = nunjucks.render(__dirname+ '/views/login.html');
};

let fn_index = async (ctx,next) =>{

    ctx.body = nunjucks.render(__dirname+ '/views/index.html');
};



module.exports = {
    '/':['get',fn_login],
    '/index':['post',fn_index]
}